body {
    font-family: "Microsoft YaHei", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.top-nav {
    background: linear-gradient(135deg, #5197dd, #6d9dcd);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-nav .container {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.top-nav a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    font-size: 15px;
}

.top-nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(5px);
    -webkit-transform: translateY(-3px);
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.top-nav a.active {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    -webkit-box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.top-nav a.active:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.6);
    -webkit-transform: translateY(-3px);
    -webkit-box-shadow: 0 8px 20px rgba(52, 152, 219, 0.6);
}

.top-nav a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: 0.6s;
    -webkit-transition: 0.6s;
}

.top-nav a:hover::before {
    left: 100%;
    -webkit-left: 100%;
}

.header {
    background-color: #4c8bc9;
    color: white;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header h1 {
    margin: 0;
    font-size: 2em;
}

.header p {
    margin: 10px 0 0;
    font-size: 1.1em;
    opacity: 0.9;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    -webkit-transition: background-color 0.3s;
}

.button:hover {
    background-color: #2980b9;
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: #add6ff;
    color: white;
    margin-top: 40px;
}

.footer a {
    color: #3498db;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}